package com.all.play.myapplication.utils;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.all.play.myapplication.base.BasePager;

/**
 * Created by 聪明一只哈 on 2018/3/28.
 */

public class ConMidlesFragment extends Fragment {
    private BasePager basePager;

    public ConMidlesFragment(BasePager basePager) {

        this.basePager=basePager;
    }


    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        if(basePager!=null){
            return basePager.rootview;
        }
        return null;
    }
}
